﻿using STHPMS1.DAL.D_Core;
using STHPMS1.ICore.I_DAL;
using STHPMS1.Common.C_Extension;
using STHPMS1.ICore.I_DAL.Repository;

namespace STHPMS1.DAL.D_Dao
{
    public class Sthpms1Dao : Repository, ISthpms1Dao
    {
        public Sthpms1Dao(bool isopen = true):base(isopen)
        {
        }

    
        public IDalFactory Factory
        {
	        get;
			set;
        }

        public ICore.I_Core.IScene Scene
        {
	        get;
			set;
        }

        public IRepository Adapter
        {
	        get;
			set;
        }

        public ITestRepository Test {
			get {
				return CoreExt.RepositoryDecorator (CoreExt.ScenceDecorator (Factory.GetTestRepository(), this.Scene), this);
			}
		}

        public IT_RdpciRepository T_Rdpci
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetT_RdpciRepository(), this.Scene), this);
            }
        }

        public IB_HistoryRepository B_History
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetB_HistoryRepository(), this.Scene), this);
            }
        }

        public IB_InvntoryRepository B_Invntory
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetB_InvntoryRepository(), this.Scene), this);
            }
        }
        public IB_RoadwayRepository B_Roadway
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetB_RoadwayRepository(), this.Scene), this);
            }
        }
        public IB_PmstcRepository B_Pmstc
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetB_PmstcRepository(), this.Scene), this);
            }
        }
        public IB_RdstandardRepository B_Rdstandard
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetB_RdstandardRepository(), this.Scene), this);
            }
        }
        public IB_SturctureRepository B_Sturcture
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetB_SturctureRepository(), this.Scene), this);
            }
        }

        public IB_UnitRepository B_Unit
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetB_UnitRepository(), this.Scene), this);
            }
        }
        public IE_EvaluRepository E_Evalu
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetE_EvaluRepository(), this.Scene), this);
            }
        }
        public IE_NetevaluRepository E_Netevalu
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetE_NetevaluRepository(), this.Scene), this);
            }
        }
        public IE_RoadwaydetailRepository E_Roadwaydetail
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetE_RoadwaydetailRepository(), this.Scene), this);
            }
        }
        public IE_SegevaluRepository E_Segevalu
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetE_SegevaluRepository(), this.Scene), this);
            }
        }
        public IS_AxleloadRepository S_Axleload
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_AxleloadRepository(), this.Scene), this);
            }
        }
        public IS_BtstrutRepository S_Btstrut
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_BtstrutRepository(), this.Scene), this);
            }
        }
        public IS_InspeaccseRepository S_Inspeaccse
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_InspeaccseRepository(), this.Scene), this);
            }
        }

        public IS_Pmds_AspRepository S_Pmds_Asp
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_Pmds_AspRepository(), this.Scene), this);
            }
        }
        public IS_Pmds_CemRepository S_Pmds_Cem
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_Pmds_CemRepository(), this.Scene), this);
            }
        }
        public IS_Pmds_SRepository S_Pmds_S
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_Pmds_SRepository(), this.Scene), this);
            }
        }
        public IS_RdcarRepository S_Rdcar
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_RdcarRepository(), this.Scene), this);
            }
        }
        public IS_RddfRepository S_Rddf
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_RddfRepository(), this.Scene), this);
            }
        }
        public IS_RdfrcRepository S_Rdfrc
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_RdfrcRepository(), this.Scene), this);
            }
        }
        public IS_RdfwdRepository S_Rdfwd
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_RdfwdRepository(), this.Scene), this);
            }
        }
        public IS_RdpssiRepository S_Rdpssi
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_RdpssiRepository(), this.Scene), this);
            }
        }
        public IS_RdrghRepository S_Rdrgh
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_RdrghRepository(), this.Scene), this);
            }
        }
        public IS_RuttingRepository S_Rutting
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_RuttingRepository(), this.Scene), this);
            }
        }
        public IS_Apply S_Apply
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_ApplyRepository(), this.Scene), this);
            }
        }
        public IS_SubgrdRepository S_Subgrd
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_SubgrdRepository(), this.Scene), this);
            }
        }
        public IS_TrfvolsurveyRepository S_Trfvolsurvey
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetS_TrfvolsurveyRepository(), this.Scene), this);
            }
        }


        public IExcelRepository Excel
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetExcelRepository(), this.Scene), this);
            }
        }

        public IDm_HistperfRepository Dm_Histperf
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDm_HistperfRepository(), this.Scene), this);
            }
        }
        public IDm_ModelgroupRepository Dm_Modelgroup
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDm_ModelgroupRepository(), this.Scene), this);
            }
        }
        public IDn_Divi_ResultRepository Dn_Divi_Result
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDn_Divi_ResultRepository(), this.Scene), this);
            }
        }
        public IDn_Diy_IndexRepository Dn_Diy_Index
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDn_Diy_IndexRepository(), this.Scene), this);
            }
        }
        public IDn_Fwd_WayRepository Dn_Fwd_Way
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDn_Fwd_WayRepository(), this.Scene), this);
            }
        }
        public IDn_Huamei_WayRepository Dn_Huamei_Way
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDn_Huamei_WayRepository(), this.Scene), this);
            }
        }
        public IDn_Oldraod_WayRepository Dn_Oldraod_Way
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDn_Oldraod_WayRepository(), this.Scene), this);
            }
        }
        public IDn_Stand_WanRepository Dn_Stand_Wan
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDn_Stand_WanRepository(), this.Scene), this);
            }
        }
        public IDn_Traffic_WayRepository Dn_Traffic_Way
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDn_Traffic_WayRepository(), this.Scene), this);
            }
        }
        public IDn_Divi_PlanningRepository Dn_Divi_Planning
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDn_Divi_PlanningRepository(), this.Scene), this);
            }
        }
        public IDp_CostbenefitRepository Dp_Costbenefit
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDp_CostbenefitRepository(), this.Scene), this);
            }
        }
        public IDp_Infect_CoeRepository Dp_Infect_Coe
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDp_Infect_CoeRepository(), this.Scene), this);
            }
        }
        public IDp_Infect_ValueRepository Dp_Infect_Value
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDp_Infect_ValueRepository(), this.Scene), this);
            }
        }
        public IDp_Prevemeas_IniRepository Dp_Prevemeas_Ini
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDp_Prevemeas_IniRepository(), this.Scene), this);
            }
        }
        public IDp_Prevemeas_SecRepository Dp_Prevemeas_Sec
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDp_Prevemeas_SecRepository(), this.Scene), this);
            }
        }
        public IDp_Preven_MeaintRepository Dp_Preven_Meaint
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDp_Preven_MeaintRepository(), this.Scene), this);
            }
        }
        public IDp_Preven_MeasecRepository Dp_Preven_Measec
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDp_Preven_MeasecRepository(), this.Scene), this);
            }
        }
        public IDp_Preven_PlanRepository Dp_Preven_Plan
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDp_Preven_PlanRepository(), this.Scene), this);
            }
        }
        public IDp_Proj_RecomRepository Dp_Proj_Recom
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDp_Proj_RecomRepository(), this.Scene), this);
            }
        }
        public IDp_Sejud_CalcuRepository Dp_Sejud_Calcu
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDp_Sejud_CalcuRepository(), this.Scene), this);
            }
        }
        public IDp_Preventive_ModelRepository Dp_Preventive_Model
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDp_Preventive_ModelRepository(), this.Scene), this);
            }
        }
        public IDm_TrafaxleRepository Dm_Trafaxle
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDm_TrafaxleRepository(), this.Scene), this);
            }
        }
        public IDp_Preven_DetailRepository Dp_Preven_Detail
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDp_Preven_DetailRepository(), this.Scene), this);
            }
        }

        public IDf_Dailymian_CostRepository Df_Dailymian_Cost
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDf_Dailymian_CostRepository(), this.Scene), this);
            }
        }
        public IDf_Seclass_ProjRepository Df_Seclass_Proj
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDf_Seclass_ProjRepository(), this.Scene), this);
            }
        }
        public IDf_Main_CostRepository Df_Main_Cost
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDf_Main_CostRepository(), this.Scene), this);
            }
        }
        public IDf_Funlim_ProjRepository Df_Funlim_Proj
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDf_Funlim_ProjRepository(), this.Scene), this);
            }
        }
        public IDf_Costmod_ParaRepository Df_Costmod_Para
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDf_Costmod_ParaRepository(), this.Scene), this);
            }
        }
        public IB_RoadnetRepository B_Roadnet
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetB_RoadnetRepository(), this.Scene), this);
            }
        }
        public IDp_Dailymain_CostRepository Dp_Dailymain_Cost
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDp_Dailymain_CostRepository(), this.Scene), this);
            }
        }
        public IDf_Full_OrderRepository Df_Full_Order
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDf_Full_OrderRepository(), this.Scene), this);
            }
        }

        public IDr_Repair_LarRepository Dr_Repair_Lar
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDr_Repair_LarRepository(), this.Scene), this);
            }
        }
        public IDr_Repair_MidRepository Dr_Repair_Mid
        {
            get
            {
                return CoreExt.RepositoryDecorator(CoreExt.ScenceDecorator(Factory.GetDr_Repair_MidRepository(), this.Scene), this);
            }
        }
    }
}
